package org.sky.vo;


import java.io.File;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 12-11-7
 * Time: 下午6:37
 * To change this template use FileUtil | Settings | FileUtil Templates.
 */
public class FileVO extends BaseVO {

    // 代表上传文件的File对象
    private File upload;
    // 上传文件名
    private String uploadFileName;
    // 上传文件的MIME类型
    private String uploadContentType;
    // 上传文件的描述信息
    private String description;
    // 保存上传文件的目录，相对于WEB应用程序的根路径，在struts.xml中配置
    private String uploadDir;
    //作者
    private String author;
    //日期
    private Date date;
    //文件大小
    private double size;
    //excel文件名
    private String excelFileName;
    //判断值
    private int flag;

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }

    public File getUpload() {
        return upload;
    }

    public void setUpload(File upload) {
        this.upload = upload;
    }

    public String getUploadFileName() {
        return uploadFileName;
    }

    public void setUploadFileName(String uploadFileName) {
        this.uploadFileName = uploadFileName;
    }

    public String getUploadContentType() {
        return uploadContentType;
    }

    public void setUploadContentType(String uploadContentType) {
        this.uploadContentType = uploadContentType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUploadDir() {
        return uploadDir;
    }

    public void setUploadDir(String uploadDir) {
        this.uploadDir = uploadDir;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getExcelFileName() {
        return excelFileName;
    }

    public void setExcelFileName(String excelFileName) {
        this.excelFileName = excelFileName;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

}

